home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / util / wb / ObtainPens.readme < prev    next >
Text File  |  1996-12-07  |  4KB  |  99 lines

  1. Short:    A better MWB-Color-Daemon (e.g. for NewIcons / MUI)
  2. Author:   ALeX Kazik <akazik@TechFak.Uni-Bielefeld.DE>
  3. Uploader: ALeX Kazik <akazik@TechFak.Uni-Bielefeld.DE>
  4. Version:  1.0
  5. Type:     util/wb
  6. Requires: OS3  (supports PatchControl)
  7.  
  8. Description:
  9. ¯¯¯¯¯¯¯¯¯¯¯¯
  10.    This patch allocates the Colors 4-7 from the WB with the MWB-Colors,
  11.    like other Daemons. But this patch has some advantages:
  12.    · The OpenScreenTagList-Function and not the OpenWorkBench-Function is
  13.      patched. This means that the Pens also allocated, if the WB wont be
  14.      opened by OpenWorkBench(), e.g. LoadWB / LockPubScreen() don't use
  15.      OpenWorkBench().
  16.    · The pens, which will allocated, are SHARED. That means that all
  17.      programms can use this pens. (ForcePens, my model, reserved the pens
  18.      EXCLUSIVE, the result is that the pens can only used by ForcePens)
  19.    · If PatchControl is running, you can remove the daemon by sending a
  20.      break (CTRL-C) to ObtainPens.
  21.    · The programm is really small. Exact 2304 Bytes.
  22.  
  23. Requiements:
  24. ¯¯¯¯¯¯¯¯¯¯¯¯
  25.    OS3
  26.  
  27. Installation:
  28. ¯¯¯¯¯¯¯¯¯¯¯¯¯
  29.    Simply, use the Install-Script, OR:
  30.    · Copy ObtainPens to C: (or where you want).
  31.    · Add a line, like the following, to the user-startup.
  32.      run <NIL: >NIL: C:ObtainPens
  33.    · The line should be at the beginning of the user-startup, because
  34.      it is possible, that ObtainsPens will be active, after LoadWB started,
  35.      that results in no colors, bad look.
  36.  
  37. Usage:
  38. ¯¯¯¯¯¯
  39.    Install it.
  40.    The programm will return immedatly with error code 20, if you
  41.    don't have OS3. The programm NEVER produces an output.
  42.  
  43. Colors:
  44. ¯¯¯¯¯¯¯
  45.    The colors, which will be allocated, are the Standard MWB-Colors.
  46.    If you want to use others, there a two ways:
  47.    1) Change the sourecode.
  48.    2) Take a hex editor, and change the programm.
  49.    In general: The colors are 32bit-left-alligned, for the color 123 (0x7B)
  50.    you have to write 0x7B7B7B7B. Beginning with line 20 in the source, and
  51.    Offset 2082 (0x822) in the programm, you'll find 4×4 longwords.
  52.    The first specifies the pen number, the next three the colors (red,
  53.    green blue). That will be repeated for the next 3 pens.
  54.  
  55. Shareware:
  56. ¯¯¯¯¯¯¯¯¯¯
  57.    This programm is CARD/MAILWARE. All rigths reserved.
  58.  
  59. Disclaimer:
  60. ¯¯¯¯¯¯¯¯¯¯¯¯
  61.    I gurantee for nothing.
  62.  
  63. Author:
  64. ¯¯¯¯¯¯¯
  65.  
  66.                         Alex  Kazik
  67.                     Stapenhorststr.  81
  68.                       33615 Bielefeld
  69.                           Germany
  70.  
  71.          E-Mail: akazik@TechFak.Uni-Bielefeld.DE
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.                                                 ###### ##      ####  ##   ##
  79.                                                ##   ## ##     ##  ##  ## ##
  80.                                                #### ## ##     ######   ###
  81.                                                ## #### ##     ##      ## ##
  82.                                                ##   ## ######  ####  ##   ##
  83.  
  84.  
  85. ============================= Archive contents =============================
  86.  
  87. Original  Packed Ratio    Date     Time    Name
  88. -------- ------- ----- --------- --------  -------------
  89.     2686    1583 41.0% 24-Nov-96 23:04:02  ObtainPens.info
  90.      943     512 45.7% 23-Nov-96 16:14:58 +Install
  91.     2714    1744 35.7% 21-Nov-96 16:48:56 +Install.info
  92.     2304    1590 30.9% 21-Nov-96 09:42:02 +ObtainPens
  93.     1763     731 58.5% 21-Nov-96 09:42:34 +ObtainPens.c
  94.     2967    2299 22.5% 21-Nov-96 16:05:10 +ObtainPens.c.info
  95.     2901    1280 55.8% 23-Nov-96 15:00:38 +ObtainPens.readme
  96.     2727    1606 41.1% 23-Nov-96 16:22:18 +ObtainPens.readme.info
  97. -------- ------- ----- --------- --------
  98.    19005   11345 40.3% 25-Nov-96 20:39:24   8 files
  99.